Reference: Display Filters: Rewrap
Move Up Move to Top
Contents: Filter Overview User Interface & Options
Example Variables
Filter Overview This display filter rewraps text to a given percentage of the display width.

Back to Top

User Interface The user interface for this filter looks like this:

The available configuration options are:

  • Quote Chars - Characters in this set separate quotation levels. The wrap filter will attempt to preserve quotes when rewrapping text. For more information, see the Highlight Quotes display filter.

  • Prefix Len - The maximum number of characters in a single quote prefix. For more information, see the Highlight Quotes display filter.

  • Wrap Width % - The text is wrapped to approximately this percentage of the article view display width.

  • Break Chars - Characters where word wrapping may break the line. This defaults to a single space character.

  • Min Wrap Len - The minimum line length that is a candidate for rewrap. Lines shorter than this will cause a line break.

  • Badwrap Fix - If set, an attempt is made to detect and fix bad wrapping by other software. For example, some text is posted like this:

      > > This is a line of quoted text, but
      this
      > > word is not wrapped correctly, and
      neither
      > > is this one.

    Setting this option will try to find and fix these cases.

  • NoFlow Pattern - This pattern can be set to match lines which should not be wrapped. For example, patterns to match various types of item lists are useful here.

Back to Top

Example Here is some original, unwrapped text:

And the same text with the rewrap filter turned on:

Back to Top

Variables There are no variables supported by this filter.